package com.huang.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author HuangShen
 * @Description 网关服务
 * @create 2021-09-04 15:20
 */
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(value = {"com.huang.auth","com.huang.gateway"})
@EnableFeignClients(value = {"com.huang.auth"})
public class GateWayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GateWayApplication.class, args);
    }
}
